{extend name="common@base" /}
{block name="content"}
<section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box box-primary">
        <div class="box-header with-border">
          <div class="box-title">考场信息</div>
          <table class="table">
            <tr>
              <th>考场名</th>
              <th>监考老师</th>
              <th>考试日期</th>
              <th>开始时间/结束时间</th>
              <th>考试时长</th>
              <th>考题数量</th>
              <th>通过情况</th>
            </tr>
            <tr>
              <td>{$room.title}</td>
              <td>{$room.teacher_uid}</td>
              <td>{$room.exam_date}</td>
              <td>{$room.start_time}/{$room.end_time}</td>
              <td>{$room.exam_duration}分</td>
              <td>{$qConfigStr}</td>
              <td>{$room.pass_score}</td>
            </tr>
          </table>
        </div>
      </div>
      <div class="box box-primary">
        <div class="box-header with-border">
          <div class="box-title">试卷列表</div>
        </div>
        <div class="box-body">

        </div>
        <table id="table" class="table">
          <thead>
          <tr>
            <th>ID</th>
            <th>姓名</th>
            <th>题目列表</th>
            <th>答案列表</th>
            <th>操作</th>
          </tr>
          </thead>
          <tbody>
          {foreach $rows as $row}
          <tr>
            <td>{$row.id}</td>
            <td>{$row.uid}</td>
            <td>{$row.questions}</td>
            <td>{$row.answers}</td>
            <td>
            </td>
          </tr>
          {/foreach}
          </tbody>
        </table>
        <div class="box-footer">
          {$rows->render()}
        </div>
      </div>
    </div>
  </div>
</section>
{/block}
{block name="page_script"}
<script>
  require(["layer_config", "ajaxForm"], function (layer) {
  });
</script>
{/block}





